package edu.gduf.parcel.common.vo;

/**
 * 
 * @author Joe
 * @Description 返回结果Bean
 * @Date 2016年11月20日 下午4:04:11
 * @Since v1.0
 */
public class Result {
	// 调用信息返回码
	private String code;
	// 调用信息
	private String message;
	// 调用时间,格式yyyy-MM-dd HH:mm:ss
	private String date;
	// 业务相关结果
	private Object bizData;

	protected Result() {

	}

	public Result(String code, String message, String date) {
		super();
		this.code = code;
		this.message = message;
		this.date = date;
	}

	public Result(String code, String message, String date, Object bizData) {
		super();
		this.code = code;
		this.message = message;
		this.date = date;
		this.bizData = bizData;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getBizData() {
		return bizData;
	}

	public void setBizData(Object bizData) {
		this.bizData = bizData;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Result [code=" + code + ", message=" + message + ", date=" + date + ", bizData=" + bizData + "]";
	}

}
